package com.scs.application.modules.wm.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.wm.entity.Stock;
import com.scs.application.modules.wm.entity.Transfer;
import com.scs.application.modules.wm.entity.WorkOrder;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 入库单 Service
 * </p>
 */

public interface OutOrderService extends IBaseService<WorkOrder> {
    /**
     * 根据送调拨单转换出库单
     *
     * @param transfer
     * @return
     */
    List<WorkOrder> createWorkOrderByTransfer(Transfer transfer);

    Stock getByUnicode(String code, String type);

    Map getOutOrder(String code);
}
